//
//  BeverageDecorator.h
//  Charles
//
//  Created by Leo on 2017/6/13.
//  Copyright © 2017年 charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Beverage.h"

#pragma mark - 饮料装饰者协议

@protocol CondimentDecorator <Beverage>

@end

#pragma mark - 调料种类

@interface Soy : NSObject<CondimentDecorator>

@property (strong, nonatomic) id<Beverage>beverage;

- (instancetype)initWithBeverage:(id<Beverage>)beverage;

@end

@interface Milk : NSObject<CondimentDecorator>

@property (strong, nonatomic) id<Beverage>beverage;

- (instancetype)initWithBeverage:(id<Beverage>)beverage;

@end

@interface Mocha : NSObject<CondimentDecorator>

@property (strong, nonatomic) id<Beverage>beverage;

- (instancetype)initWithBeverage:(id<Beverage>)beverage;

@end

@interface Whip : NSObject<CondimentDecorator>

@property (strong, nonatomic) id<Beverage>beverage;

- (instancetype)initWithBeverage:(id<Beverage>)beverage;

@end


